﻿using Coolzon.UI.Core.Parts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Animation;

namespace Coolzon.UI.Core.Runtime.Script.Animation
{
    public abstract class AnimationScriptObject
    {
        protected double Duration { get; set; }

        public AnimationScriptObject(double duration)
        {
            Duration = duration;
        }

        public abstract void AppendToStoryboard(Widget instance, ref double duration, Storyboard storyboard);
    }
}
